import request from '@/utils/request'

export function addClass(data) {
  return request({
    method: 'post',
    url: '/class',
    data
  })
}

export function getClasses(params) {
  return request({
    url: '/classes'
  })
}
